/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rpt.bd.cenario;

/**
 *
 * @author Roberto
 */
public class CFiltroGradeBdCenarioEdicao extends CFiltroGradeBdCenario {
    
    protected CCenarioBdEdicao fCenarioBdEdicao;

    CFiltroGradeBdCenarioEdicao(CCenarioBdEdicao aCenarioBdEdicao){
        super(aCenarioBdEdicao);
        fCenarioBdEdicao = aCenarioBdEdicao;
    }

    @Override
    public CGrade getGrade() {
        if (fGrade == null) {
            fGrade = new CGradeBdCenarioEdicao(fCenarioBdEdicao);
            adicGrade(fGrade);
        }
        return fGrade;
    }
}
